﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_Industry_Code : DataObject
    {
        [Column]
        public string Industry_Code { get { return _Industry_Code; } set { _Industry_Code = value; EntityState.FieldChange("Industry_Code"); } }
        private string _Industry_Code;
        public static FieldInfo industry_Code = new FieldInfo("m_Industry_Code", "Industry_Code");

        [Column]
        public string Explanation { get { return _Explanation; } set { _Explanation = value; EntityState.FieldChange("Explanation"); } }
        private string _Explanation;
        public static FieldInfo explanation = new FieldInfo("m_Industry_Code", "Explanation");

        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private DateTime _Time;
        public static FieldInfo time = new FieldInfo("m_Industry_Code", "Time");

        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("m_Industry_Code", "Status");
    }
}
